package com.itheima.web.manager;

import com.itheima.service.db.AnalysisService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;

@Component
public class AnalysisManager {
    @DubboReference
    private AnalysisService analysisService;

    public ResponseEntity summary() {

        return ResponseEntity.ok(analysisService.findAnalysisSummaryVo());
    }
}
